home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 76 / MF_UK_76_1.iso / Education Feature / MicroWorlds 2.03 Try Me / MicroWorlds 2.03 Try Me.rsrc / TEXT_800_savehtml.txt < prev    next >
Encoding:
Text File  |  1998-05-08  |  1.2 KB  |  23 lines

  1. savehtml directory
  2.  
  3. Saves the current project as a series of HTML pages in a new directory  created in the current folder. The directory  name (and all the object and pages in the project) should be lowercase without any special characters included. This primitive saves your project into a Web page (or pages) with limited functionality. You must use buttons or turtles to change pages in the project. Each page is a snapshot of the screen: animation, text, video, sound, and music icons are part of the background and do not react to clicks. 
  4.  
  5. Example:
  6.  
  7. Suppose you have a project with two pages named Room and Lake: 
  8. savehtml "champlain
  9.  
  10. In the finder, go to the current folder. You should now have a directory named Champlain with twice the number of files as pages. In this example, you will have the following files:
  11. Lake.html
  12. lake.jpg
  13. Room.html
  14. room.jpg
  15.  
  16. If you have a procedure called links on the Procedures page of your project, you can link to other Web pages outside of your project. You can make as many links as you like inside the links procedure. Here is an example of a links procedure:
  17.  
  18. to links
  19. make "lcsi "http://www.lcsi.ca
  20. end
  21.  
  22. One of the pages in your project should have a button or turtle running the instruction lcsi to link to the Web site.
  23.